package com.zhou.message.service;

import com.zhou.message.dao.SendMessageAttach;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lang.zhou
 * @since 2023-03-01
 */
public interface SendMessageAttachService extends IService<SendMessageAttach> {
    Map<Long, List<Integer>> getMessageAttachIds(Collection<Long> sendIds);
    List<Integer> getMessageAttachId(Long sendId);

    void addMessageAttach(Long sendId, Integer attachId);
}
